
import { IComponent, IComponentType } from '../src';
/*const func = (new Function('return (url) => import(url)'))()
func('/test/config.ts').then(res => {
  console.log(res)
})*/

export const DraggableComponents: IComponent[] = [
  {
    name: 'Card',
    type: IComponentType.DRAG
  },
  {
    name: 'Grid',
    type: IComponentType.CUSTOM,
    renderProps: {
      size: 4
    }
  },
  {
    name: 'ITEM',
    type: IComponentType.DROP,
  },
  {
    name: 'Heading',
    type: IComponentType.DRAG
  },
  {
    name: 'Test',
    type: IComponentType.CUSTOM,
    children: [
      {
        name: 'Card',
        type: IComponentType.DRAG
      },
      {
        name: 'ITEM',
        type: IComponentType.DROP,
        children: []
      },
    ]
  }
];
